package com.pactera.madp.cp.api.entity.daily;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * @Description  客户数据日报表
 */
@TableName("cp_work_contact_daily")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "客户数据日报表")
public class WorkContactDailyEntity extends BaseEntity<WorkContactDailyEntity> {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 企业表ID（cp_crop.id）
     */
    @ApiModelProperty(value = "企业id")
    private Integer corpId;

    @ApiModelProperty(value = "客户变化数")
    private Integer changeContact;

    @ApiModelProperty(value = "客户总数")
    private Integer totalContact;

    @ApiModelProperty(value = "客户净增数")
    private Integer RealAddContact;

    @ApiModelProperty(value = "客户表总记录数")
    private Integer totalRecord;

    @ApiModelProperty(value = "客户表不重复总记录数")
    private Integer realRecord;

    @ApiModelProperty(value = "客户增加数")
    private Integer addContact;

    @ApiModelProperty(value = "日报类型")
    private Integer dailyType;

    @ApiModelProperty(value = "生成日期")
    private LocalDate createDay;
}
